package com.hzqy.web.ac.content;


import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.hzqy.service.content.ContentComponentServiceBean;
import com.hzqy.web.vo.CmContentVo;

@Controller
@RequestMapping("/")
public class ContentComponentAction{
	protected final Logger LOG = LoggerFactory.getLogger(getClass());
	@Resource
	private ContentComponentServiceBean contentComponentServiceBean;
	@RequestMapping("/content/content_list_download")
	@ResponseBody
	public void selectContentListDownload(CmContentVo cmContentVo, HttpSession session,HttpServletResponse response, HttpServletRequest request) {
		contentComponentServiceBean.selectContentListDownload(cmContentVo,response,request,session);
	}
	@RequestMapping("/content/component/batch_review_content_play")
	@ResponseBody
	public Object batchReviewContentPlay(String ids) {
		return contentComponentServiceBean.batchReviewContent(ids);
	}
}